package com.runfast.paotui.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastShopper implements Serializable {
    private Integer id;
    private String idNumber;//身份证号
   private Date createTime;// 创建时间：
    private Integer creditRating;// 信用等级

    private String distribution;//配送范围

    private Integer distributionmun;//  配送最大数量

    private Date endTime;//配送结束 时间

    private String munber;//电话

    private String name;//姓名

    private String password;//密码

    private Date startTime;//配送开始时间

    private String userName;// 帐号

    private String worktoday;//工作日

    private String latitude;//经度

    private String longitude;//纬度

    private BigDecimal interimremainder;//  可提现金额

    private BigDecimal minmonety;// 最低提现金额（废弃）

    private BigDecimal remainder;//   账号余额

    private String bdchannelId;//推送渠道ID

    private String bduserId;//推送用户ID

    private Integer bptype;//0或空  Android用户  1 ios用户

    private Integer creditLevelid;//    信用等级id

    private Integer agentId;// 代理商Id：

    private String agentName;//代理商名

    private Integer working;//1上班 2其他休息

    private Integer status;//1/null：正常状态，-1：冻结状态

    private String otherId;// push类型对应的用户标识

    private Integer pushType;//push类型对应的用户标识类型

    private Integer teamid;//分组

    private String teamname;//分组名称

    private Double distance;///间隔差

    private String alias;///唯一识别
    private String token;//新增token
    private BigDecimal coefficient;//代理商系数
    private Integer work_Type;
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getWork_Type() {
        return work_Type;
    }

    public void setWork_Type(Integer work_Type) {
        this.work_Type = work_Type;
    }


    private static final long serialVersionUID = 1L;
    public String getidNumber() {
        return idNumber;
    }

    public void setidNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public RunfastShopper withId(Integer id) {
        this.setId(id);
        return this;
    }
    public String getLongitude() {
        return longitude;
    }
    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public RunfastShopper withCreateTime(Date createTime) {
        this.setCreateTime(createTime);
        return this;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreditRating() {
        return creditRating;
    }

    public RunfastShopper withCreditRating(Integer creditRating) {
        this.setCreditRating(creditRating);
        return this;
    }

    public void setCreditRating(Integer creditRating) {
        this.creditRating = creditRating;
    }

    public String getDistribution() {
        return distribution;
    }

    public RunfastShopper withDistribution(String distribution) {
        this.setDistribution(distribution);
        return this;
    }

    public void setDistribution(String distribution) {
        this.distribution = distribution == null ? null : distribution.trim();
    }

    public Integer getDistributionmun() {
        return distributionmun;
    }

    public RunfastShopper withDistributionmun(Integer distributionmun) {
        this.setDistributionmun(distributionmun);
        return this;
    }

    public void setDistributionmun(Integer distributionmun) {
        this.distributionmun = distributionmun;
    }

    public Date getEndTime() {
        return endTime;
    }

    public RunfastShopper withEndTime(Date endTime) {
        this.setEndTime(endTime);
        return this;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getMunber() {
        return munber;
    }

    public RunfastShopper withMunber(String munber) {
        this.setMunber(munber);
        return this;
    }

    public void setMunber(String munber) {
        this.munber = munber == null ? null : munber.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastShopper withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public RunfastShopper withPassword(String password) {
        this.setPassword(password);
        return this;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public RunfastShopper withStartTime(Date startTime) {
        this.setStartTime(startTime);
        return this;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getUserName() {
        return userName;
    }

    public RunfastShopper withUserName(String userName) {
        this.setUserName(userName);
        return this;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getWorktoday() {
        return worktoday;
    }

    public RunfastShopper withWorktoday(String worktoday) {
        this.setWorktoday(worktoday);
        return this;
    }

    public void setWorktoday(String worktoday) {
        this.worktoday = worktoday == null ? null : worktoday.trim();
    }

    public String getLatitude() {
        return latitude;
    }

    public RunfastShopper withLatitude(String latitude) {
        this.setLatitude(latitude);
        return this;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public String getIntegeritude() {
        return longitude;
    }

    public RunfastShopper withIntegeritude(String longitude) {
        this.setIntegeritude(longitude);
        return this;
    }

    public void setIntegeritude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }

    public BigDecimal getInterimremainder() {
        return interimremainder;
    }

    public RunfastShopper withInterimremainder(BigDecimal interimremainder) {
        this.setInterimremainder(interimremainder);
        return this;
    }

    public void setInterimremainder(BigDecimal interimremainder) {
        this.interimremainder = interimremainder;
    }

    public BigDecimal getMinmonety() {
        return minmonety;
    }

    public RunfastShopper withMinmonety(BigDecimal minmonety) {
        this.setMinmonety(minmonety);
        return this;
    }

    public void setMinmonety(BigDecimal minmonety) {
        this.minmonety = minmonety;
    }

    public BigDecimal getRemainder() {
        return remainder;
    }

    public RunfastShopper withRemainder(BigDecimal remainder) {
        this.setRemainder(remainder);
        return this;
    }

    public void setRemainder(BigDecimal remainder) {
        this.remainder = remainder;
    }

    public String getBdchannelId() {
        return bdchannelId;
    }

    public RunfastShopper withBdchannelId(String bdchannelId) {
        this.setBdchannelId(bdchannelId);
        return this;
    }

    public void setBdchannelId(String bdchannelId) {
        this.bdchannelId = bdchannelId == null ? null : bdchannelId.trim();
    }

    public String getBduserId() {
        return bduserId;
    }

    public RunfastShopper withBduserId(String bduserId) {
        this.setBduserId(bduserId);
        return this;
    }

    public void setBduserId(String bduserId) {
        this.bduserId = bduserId == null ? null : bduserId.trim();
    }

    public Integer getBptype() {
        return bptype;
    }

    public RunfastShopper withBptype(Integer bptype) {
        this.setBptype(bptype);
        return this;
    }

    public void setBptype(Integer bptype) {
        this.bptype = bptype;
    }

    public Integer getCreditLevelid() {
        return creditLevelid;
    }

    public RunfastShopper withCreditLevelid(Integer creditLevelid) {
        this.setCreditLevelid(creditLevelid);
        return this;
    }

    public void setCreditLevelid(Integer creditLevelid) {
        this.creditLevelid = creditLevelid;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public RunfastShopper withAgentId(Integer agentId) {
        this.setAgentId(agentId);
        return this;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public RunfastShopper withAgentName(String agentName) {
        this.setAgentName(agentName);
        return this;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public Integer getWorking() {
        return working;
    }

    public RunfastShopper withWorking(Integer working) {
        this.setWorking(working);
        return this;
    }

    public void setWorking(Integer working) {
        this.working = working;
    }

    public Integer getStatus() {
        return status;
    }

    public RunfastShopper withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOtherId() {
        return otherId;
    }

    public RunfastShopper withOtherId(String otherId) {
        this.setOtherId(otherId);
        return this;
    }

    public void setOtherId(String otherId) {
        this.otherId = otherId == null ? null : otherId.trim();
    }

    public Integer getPushType() {
        return pushType;
    }

    public RunfastShopper withPushType(Integer pushType) {
        this.setPushType(pushType);
        return this;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public Integer getTeamid() {
        return teamid;
    }

    public RunfastShopper withTeamid(Integer teamid) {
        this.setTeamid(teamid);
        return this;
    }

    public void setTeamid(Integer teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public RunfastShopper withTeamname(String teamname) {
        this.setTeamname(teamname);
        return this;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname == null ? null : teamname.trim();
    }

    public Double getDistance() {
        return distance;
    }

    public RunfastShopper withDistance(Double distance) {
        this.setDistance(distance);
        return this;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getAlias() {
        return alias;
    }

    public RunfastShopper withAlias(String alias) {
        this.setAlias(alias);
        return this;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public RunfastShopper withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createTime=").append(createTime);
        sb.append(", creditRating=").append(creditRating);
        sb.append(", distribution=").append(distribution);
        sb.append(", distributionmun=").append(distributionmun);
        sb.append(", endTime=").append(endTime);
        sb.append(", munber=").append(munber);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", startTime=").append(startTime);
        sb.append(", userName=").append(userName);
        sb.append(", worktoday=").append(worktoday);
        sb.append(", latitude=").append(latitude);
        sb.append(", longitude=").append(longitude);
        sb.append(", interimremainder=").append(interimremainder);
        sb.append(", minmonety=").append(minmonety);
        sb.append(", remainder=").append(remainder);
        sb.append(", bdchannelId=").append(bdchannelId);
        sb.append(", bduserId=").append(bduserId);
        sb.append(", bptype=").append(bptype);
        sb.append(", creditLevelid=").append(creditLevelid);
        sb.append(", agentId=").append(agentId);
        sb.append(", agentName=").append(agentName);
        sb.append(", working=").append(working);
        sb.append(", status=").append(status);
        sb.append(", otherId=").append(otherId);
        sb.append(", pushType=").append(pushType);
        sb.append(", teamid=").append(teamid);
        sb.append(", teamname=").append(teamname);
        sb.append(", distance=").append(distance);
        sb.append(", alias=").append(alias);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }


}